package com.hd.service.impl;

import com.hd.mapper.CaseIllnessRelationMapper;
import com.hd.pojo.CaseIllnessRelation;
import com.hd.service.CaseIllnessRelationService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

/**
 * Created by 1 on 2017/11/27.
 */
@Service("/caseIllnessRelationService")
@Transactional
public class CaseIllnessRelationServiceImpl implements CaseIllnessRelationService {

    @Resource
    private CaseIllnessRelationMapper caseIllnessRelationMapper;

    @Override
    public Integer addCaseIllnessRelation(CaseIllnessRelation cir) {
        return caseIllnessRelationMapper.add(cir);
    }
}
